package com.nut.course.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.nut.course.common.Result;
import com.nut.course.entity.PartnerTeacher;

import java.util.Set;

//机构教师服务
public interface PartnerTeacherService {

    Result<IPage<PartnerTeacher>> list(Integer partnerId, String name, Integer pageNo, Integer pageSize);

    Result<PartnerTeacher> getById(Integer id);

    Result add(PartnerTeacher partnerTeacher);

    Result updateById(PartnerTeacher partnerTeacher);

    Result deleteByIds(Set<Integer> ids);

}
